{% extends "admin/change_form.html" %}
{% load i18n %}
{% block title %}{% trans "setting" %}{% endblock %}
{% block breadcrumbs %}
{% load staticfiles %}
{% endblock %}

{% block content %}

<div ng-app='backend' ng-controller="cacheController">
<ul class="messagelist">
		 <div class="ajax_loading" ng-show="ajax-loading">
                  	<img src="{% static 'bootstrap/images/ajax.gif' %}">
         </div>
         <li class="success" ng-show="ajax-success">{% trans "Success" %}</li>
</ul>
        
<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="/admin/setting/save/" method="post" >
	{% csrf_token %}{% block form_top %}{% endblock %}

	<h1>{% trans "Cache" %}</h1>
	<fieldset class="module aligned">
		<h2>{% trans "fibo_cache" %}</h2>

		<div class="form-row">
			<div>
				<button ng-click="myData.doClick('memcached', $event)" class="btn btn-primary btn-sm status-button">
					{% trans "clean_memcached" %}
				</button>
			</div>
		</div>
	</fieldset>

</form>
</div>
<!-- Stack the columns on mobile by making one full-width and the other half-width -->

{% endblock %}